import request from '@/utils/request'


// 查询维修项目列表
export function listAnnex(query) {
  return request({
    url: '/repair/annex/list',
    method: 'get',
    params: query
  })
}

// 查询维修项目详细
export function getAnnex() {
  return request({
    url: '/repair/annex/',
    method: 'get'
  })
}

// 新增维修项目
export function addAnnex(data) {
  return request({
    url: '/repair/annex',
    method: 'post',
    data: data
  })
}
// 导出1
export function downloadOne(query) {
  return request({
    url: '/repair/annex/downloadOne/',
    method: 'get',
    params: query
  })
}

export function downloadTwo(query) {
  return request({
    url: '/repair/annex/downloadTwo/',
    method: 'get',
    params: query
  })
}

export function downloadThree(query) {
  return request({
    url: '/repair/annex/downloadThree/',
    method: 'get',
    params: query
  })
}

export function downloadFour(query) {
  return request({
    url: '/repair/annex/downloadFour/',
    method: 'get',
    params: query
  })
}

export function downloadFive(query) {
  return request({
    url: '/repair/annex/downloadFive/',
    method: 'get',
    params: query
  })
}

export function downloadSix(query) {
  return request({
    url: '/repair/annex/downloadSix/',
    method: 'get',
    params: query
  })
}

export function downloadSeven(query) {
  return request({
    url: '/repair/annex/downloadSeven/',
    method: 'get',
    params: query
  })
}

export function downloadEight(query) {
  return request({
    url: '/repair/annex/downloadEight/',
    method: 'get',
    params: query
  })
}

export function downloadNine(query) {
  return request({
    url: '/repair/annex/downloadNine/',
    method: 'get',
    params: query
  })
}

export function downloadTen(query) {
  return request({
    url: '/repair/annex/downloadTen/',
    method: 'get',
    params: query
  })
}

export function downloadEleven(query) {
  return request({
    url: '/repair/annex/downloadEleven/',
    method: 'get',
    params: query
  })
}

export function downloadTwelve(query) {
  return request({
    url: '/repair/annex/downloadTwelve/',
    method: 'get',
    params: query
  })
}

export function downloadThirteen(query) {
  return request({
    url: '/repair/annex/downloadThirteen/',
    method: 'get',
    params: query
  })
}
export function downloadFourteen(query) {
  return request({
    url: '/repair/annex/downloadFourteen/',
    method: 'get',
    params: query
  })
}

export function downloadFifteen(query) {
  return request({
    url: '/repair/annex/downloadFifteen/',
    method: 'get',
    params: query
  })
}

export function downloadSixteen(query) {
  return request({
    url: '/repair/annex/downloadSixteen/',
    method: 'get',
    params: query
  })
}

export function downloadSeventeen(query) {
  return request({
    url: '/repair/annex/downloadSeventeen/',
    method: 'get',
    params: query
  })
}

export function downloadEighteen(query) {
  return request({
    url: '/repair/annex/downloadEighteen/',
    method: 'get',
    params: query
  })
}

export function downloadNineteen(query) {
  return request({
    url: '/repair/annex/downloadNineteen/',
    method: 'get',
    params: query
  })
}

export function downloadTwenty(query) {
  return request({
    url: '/repair/annex/downloadTwenty/',
    method: 'get',
    params: query
  })
}

export function addProjectPhoto(data) {
  return request({
    url: '/repair/annex/photo',
    method: 'post',
    data: data
  })
}

